﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RCloud.Data
{
    /// <summary>
    /// 更新电影
    /// </summary>
    public class UserRatingHistoryUpdateClass : Doo.DataClass.UpdateClass<REntities, UserRatingHistory>
    {
        public override UserRatingHistory GetRecord(REntities container)
        {
            throw new NotImplementedException("此类不支持更新或删除");
        }

        public override UserRatingHistory CreateRecord(REntities container)
        {
            var mg = new UserRatingHistory();
            container.AddToUserRatingHistory(mg);
            return mg;
        }
    }
}
